package com.ruoyi.user.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.user.domain.vo.ProductDetails;

import java.math.BigDecimal;
import java.util.List;

/**
 * 小程序-商家详情（含基本信息与菜品列表）
 */
public class MerchantDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    // 基本信息
    private String merchantId;
    private String merchantName;
    private String contactPhone;
    private String address;
    private BigDecimal latitude;
    private BigDecimal longitude;
    private String avatarUrl;
    private Long status;
    private BigDecimal rating;
    private String type;

    // 菜品列表
    private List<MerchantProduct> products;

    // 可用优惠券列表
    private List<CouponTemplate> coupons;

    // 订单数量
    private Integer orderCount;

    public Integer getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(Integer orderCount) {
        this.orderCount = orderCount;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public BigDecimal getRating() {
        return rating;
    }

    public void setRating(BigDecimal rating) {
        this.rating = rating;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<MerchantProduct> getProducts() {
        return products;
    }

    public void setProducts(List<MerchantProduct> products) {
        this.products = products;
    }

    public List<CouponTemplate> getCoupons() {
        return coupons;
    }

    public void setCoupons(List<CouponTemplate> coupons) {
        this.coupons = coupons;
    }
}
